home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 26 / AACD 26.iso / AACD / Online / PHP / include / php / main / php_compat.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-01-10  |  3.2 KB  |  75 lines

  1. #ifndef PHP_COMPAT_H
  2. #define PHP_COMPAT_H
  3.  
  4. #ifdef PHP_WIN32
  5. #include "config.w32.h"
  6. #else
  7. #include "php_config.h"
  8. #endif
  9.  
  10. #if defined(HAVE_BUNDLED_PCRE) || !defined(PHP_VERSION)
  11. #define pcre_compile             php_pcre_compile
  12. #define pcre_copy_substring        php_pcre_copy_substring
  13. #define pcre_exec                php_pcre_exec
  14. #define pcre_get_substring        php_pcre_substring
  15. #define pcre_get_substring_list    php_pcre_get_substring_list
  16. #define pcre_info                php_pcre_info
  17. #define pcre_maketables            php_pcre_maketables
  18. #define pcre_study                php_pcre_study
  19. #define pcre_version            php_pcre_version
  20. #endif
  21.  
  22. #define lookup                php_lookup
  23. #define hashTableInit        php_hashTableInit
  24. #define hashTableDestroy    php_hashTableDestroy
  25. #define hashTableIterInit    php_hashTableIterInit
  26. #define hashTableIterNext    php_hashTableIterNext
  27.  
  28. #ifndef HAVE_LIBEXPAT2
  29. #define XML_DefaultCurrent php_XML_DefaultCurrent
  30. #define XML_ErrorString php_XML_ErrorString
  31. #define XML_ExternalEntityParserCreate php_XML_ExternalEntityParserCreate
  32. #define XML_GetBase php_XML_GetBase
  33. #define XML_GetBuffer php_XML_GetBuffer
  34. #define XML_GetCurrentByteCount php_XML_GetCurrentByteCount
  35. #define XML_GetCurrentByteIndex php_XML_GetCurrentByteIndex
  36. #define XML_GetCurrentColumnNumber php_XML_GetCurrentColumnNumber
  37. #define XML_GetCurrentLineNumber php_XML_GetCurrentLineNumber
  38. #define XML_GetErrorCode php_XML_GetErrorCode
  39. #define XML_GetSpecifiedAttributeCount php_XML_GetSpecifiedAttributeCount
  40. #define XML_Parse php_XML_Parse
  41. #define XML_ParseBuffer php_XML_ParseBuffer
  42. #define XML_ParserCreate php_XML_ParserCreate
  43. #define XML_ParserCreateNS php_XML_ParserCreateNS
  44. #define XML_ParserFree php_XML_ParserFree
  45. #define XML_SetBase php_XML_SetBase
  46. #define XML_SetCdataSectionHandler php_XML_SetCdataSectionHandler
  47. #define XML_SetCharacterDataHandler php_XML_SetCharacterDataHandler
  48. #define XML_SetCommentHandler php_XML_SetCommentHandler
  49. #define XML_SetDefaultHandler php_XML_SetDefaultHandler
  50. #define XML_SetDefaultHandlerExpand php_XML_SetDefaultHandlerExpand
  51. #define XML_SetElementHandler php_XML_SetElementHandler
  52. #define XML_SetEncoding php_XML_SetEncoding
  53. #define XML_SetExternalEntityRefHandler php_XML_SetExternalEntityRefHandler
  54. #define XML_SetExternalEntityRefHandlerArg php_XML_SetExternalEntityRefHandlerArg
  55. #define XML_SetNamespaceDeclHandler php_XML_SetNamespaceDeclHandler
  56. #define XML_SetNotStandaloneHandler php_XML_SetNotStandaloneHandler
  57. #define XML_SetNotationDeclHandler php_XML_SetNotationDeclHandler
  58. #define XML_SetProcessingInstructionHandler php_XML_SetProcessingInstructionHandler
  59. #define XML_SetUnknownEncodingHandler php_XML_SetUnknownEncodingHandler
  60. #define XML_SetUnparsedEntityDeclHandler php_XML_SetUnparsedEntityDeclHandler
  61. #define XML_SetUserData php_XML_SetUserData
  62. #define XML_UseParserAsHandlerArg php_XML_UseParserAsHandlerArg
  63. #define XmlGetUtf16InternalEncoding php_XmlGetUtf16InternalEncoding
  64. #define XmlGetUtf8InternalEncoding php_XmlGetUtf8InternalEncoding
  65. #define XmlInitEncoding php_XmlInitEncoding
  66. #define XmlInitUnknownEncoding php_XmlInitUnknownEncoding
  67. #define XmlParseXmlDecl php_XmlParseXmlDecl
  68. #define XmlSizeOfUnknownEncoding php_XmlSizeOfUnknownEncoding
  69. #define XmlUtf16Encode php_XmlUtf16Encode
  70. #define XmlUtf8Encode php_XmlUtf8Encode
  71. #define XmlPrologStateInit php_XmlPrologStateInit
  72. #endif
  73.  
  74. #endif
  75.